-- GENERATED SPELL FOR [Kor'kron Reaver] --


function spell0_30755(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30755', 5339, 1)
end

function spell1_30755(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30755', 610, 1)
end

function Sorts_30755(pUnit, Event)
local choix_sorts_30755 = math.random(0, 1)
if choix_sorts_30755 == 0 then
pUnit:RegisterEvent('spell0_30755', 1, 1)
end
if choix_sorts_30755 == 1 then
pUnit:RegisterEvent('spell1_30755', 1, 1)
end
end

function mob30755_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30755', math.random(1500, 3000), 1)
end

function mob30755_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30755_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30755_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30755, 1, 'mob30755_Action')
RegisterUnitEvent(30755, 2, 'mob30755_Leave')
RegisterUnitEvent(30755, 3, 'mob30755_Kill')
RegisterUnitEvent(30755, 4, 'mob30755_Die')
